
import MathJax, { initMathJax, renderByMathjax } from "mathjax-vue3";
function onMathJaxReady() {
    const el = document.getElementById("elementId");
    renderByMathjax(el);
}

// Mathjax is placed at the backend server.
initMathJax({ url: 'mathjax/tex-svg.min.js' }, onMathJaxReady);

export default MathJax